export const baseUrlApi = url =>
  // process.env.NODE_ENV === "development"
  //   ? `/api${url}`
  //   : `http://127.0.0.1:8181${url}`;
  process.env.NODE_ENV === "development"
    ? `/api${url}`
    : `http://10.8.58.42:8181${url}`;

export const bitUrlApi = url => `http://10.8.58.66:9008${url}`;

// export const baseUrlApi = (url) => `/api${url}`;
